<%@ page contentType="text/html; charset=utf-8" isELIgnored="false"%>
 <%@ include file="/WEB-INF/jsp/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>时间设置</title>
</head>
<body>
<form action="./fyWorkTimeConfController.do" style="padding: 10px 0px 0px 20px">

	<div>${message}</div>
	<input name="method" type="hidden" value="setWorkTime">
	<table>
		<tr>
			<td>早上上班时间：</td>
			<td><input name="zaoshangshangbanshijian" class="comp" comp="type:'calendar',ifFormat:'%H:%M',showsTime:true"></td>
		</tr>
		<tr>
			<td>早上下班时间：</td>
			<td><input name="zaoshangxiabanshijian" class="comp" comp="type:'calendar',ifFormat:'%H:%M',showsTime:true"></td>
		</tr>
		<tr>
			<td>下午上班时间：</td>
			<td><input name="xiawushangbanshijian" class="comp" comp="type:'calendar',ifFormat:'%H:%M',showsTime:true">
		</td>
		</tr>
		<tr>
			<td>下午下班时间：</td>
			<td><input name="xiawuxiabanshijian" class="comp" comp="type:'calendar',ifFormat:'%H:%M',showsTime:true"></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="保存" ></td>
		</tr>
	</table>
	</form>
</body>
<script type="text/javascript">

	var zaoshangshangbanshijian = "${zaoshangshangbanshijian}";
	var zaoshangxiabanshijian = "${zaoshangxiabanshijian}";
	var xiawushangbanshijian = "${xiawushangbanshijian}";
	var xiawuxiabanshijian = "${xiawuxiabanshijian}";

	document.getElementsByName("zaoshangshangbanshijian")[0].value = zaoshangshangbanshijian!="null" ?zaoshangshangbanshijian:"";
	document.getElementsByName("zaoshangxiabanshijian")[0].value = zaoshangxiabanshijian!="null" ?zaoshangxiabanshijian:"";
	document.getElementsByName("xiawushangbanshijian")[0].value = xiawushangbanshijian!="null" ?xiawushangbanshijian:"";
	document.getElementsByName("xiawuxiabanshijian")[0].value = xiawuxiabanshijian!="null" ?xiawuxiabanshijian:"";

	
	</script>
</html>